package com.itheima.oopadvanced.singleinstance;

/**
 * @author Anomaly
 * @date 2022/12/12 15:25
 */

/**
 * 饿汉单例
 */
public class SingleInstance {
    public static SingleInstance instance = new SingleInstance();

    private SingleInstance() {
    }
}
